package com.example.controller.sys;

import com.example.service.ISysService;
import com.example.vo.ResultVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 前端缓存系统参数
 *
 * @author wsl
 */
@Api(tags = "前端系统参数")
@RestController
@RequestMapping("/sys")
public class SysController {

    @Autowired
    private ISysService sysService;

    @GetMapping("/font-dict-cache")
    @ApiOperation(value = "获取前端字典缓存")
    public ResultVo queryFontDictCache(){
        return sysService.queryFontSysCache();
    }
}
